var _serviceURL = '/69mark/merchant';// 必须设置

$(function() {
	
	doPage(1);
	
});

function doPage(page){
	var name = $("#serchName").val();
	var shopId = $("#shopId").val();
	$.ajax({
   		type : "POST",
   		url : _serviceURL+"/toListAllCouponReceive.do",
   		cache : false,
   		data : "pageNo="+page+"&pageSize=10&&shopId="+shopId,
   		dataType : 'json',
   		success : function(data) {
   			var result = "";
   			for(var i=0;i<data.menuList.length;i++){
   				
   				result += "<div class=\"individual-form-home_record-table-demo-display\">";
   				result += "<div class=\"individual-form-home_record-table-demo-display-state\">";
   				result += ""+data.menuList[i].nickname+"</div>";
   				result += "<div class=\"individual-form-home_record-table-demo-display-heading\">";
   				result += ""+data.menuList[i].modifiedTime.substring(0,10)+"</div>";
   				result += "<div class=\"individual-form-home_record-table-demo-display-time\">";
   				result += data.menuList[i].title;
   				result += "</div>";
   				result += "<div class=\"individual-form-home_record-table-demo-display-operation\">";
   				result += "<div class=\"individual-form-home_record-table-demo-display-operation-modify\">";
   				result += ""+data.menuList[i].modifiedTime.substring(0,10)+"";
   				result += "</div>";
   				result += "</div>";
   				result += "<div class=\"clear\"></div>";
   				result += "</div>";
   				result += "<div class=\"clear\"></div>";
   				
   			}
   			
   			$("#heightList").html(result);
   			$("#page_user").html(data.navi);
   			
   			//新增属性值赋值为空
   			$("#name").val("");
   		}
	})
}



